PARSER = ../../core/java/parser.jar

CGT_MM = ../../core/grammars/metamodels.cgt
CGT_M = ../../core/grammars/models.cgt
CGT_RL = ../../core/grammars/kmrl.cgt

FILE_MM = xSPEM.mm
FILE_M = xSPEM.m
FILE_RL = xSPEM.rl

all: metamodel model kmrl

metamodel:
	java -jar $(PARSER) $(FILE_MM) $(CGT_MM)

model:
	java -jar $(PARSER) $(FILE_M) $(CGT_M)

kmrl:
	java -jar $(PARSER) $(FILE_RL) $(CGT_RL)

clean:
	
